﻿using System;
using System.Collections.Generic;
using System.IO;
using System.Linq;
using System.Text;

namespace Obra.Api
{
    public interface IMedia : 
        IEntity
    {
        /// <summary>
        /// The format of the media, i.e. MP3, JPG, MOV
        /// </summary>
        string Format
        {
            get;
        }

        /// <summary>
        /// Checksum of this media.
        /// </summary>
        string Checksum
        {
            get;
        }

        /// <summary>
        /// Size of the media in bytes.
        /// </summary>
        ulong SizeInBytes
        {
            get;
        }

        /// <summary>
        /// Url of this media.
        /// </summary>
        Uri Url
        {
            get;
        }
    }
}
